package functions

func button_block_success(value string, id string) (out string) {
	out = button_block_basic(value, id, "btn-success")
	return
}

func button_block_danger(value string, id string) (out string) {
	out = button_block_basic(value, id, "btn-danger")
	return
}

func button_inline_default(value string, id string) (out string) {
	out = button_inline_basic(value, id, "btn-default")
	return
}

func button_inline_basic(value string, id string, class string) (out string) {
	out = "<div class=\"form-group\"><div class=\"col-lg-offset-" + col_offset_width + " col-lg-" + col_lg_width + "\"><button id=\"" + id + "\" class=\"btn btn-outline " + class + "\">" + value + "</button></div></div>"
	return
}

func button_block_basic(value string, id string, class string) (out string) {
	out = "<button id=\"" + id + "\" class=\"btn btn-lg " + class + " btn-block\">" + value + "</button>"
	return
}
